<?php 
	$name 			= $this->Item['name'];
	
	$dirImg 		= FILES_URL . '/books/lange/';
	$picture 		= $dirImg . $this->Item['picture'];
	$synopsis 		= $this->Item['synopsis'];
	$content 		= $this->cmsReplaceString(nl2br($this->Item['content']));
	$author 		= $this->Item['author'];
	$publish_date 	= $this->Item['publish_date'];
	$price 			= '$' . $this->Item['price'];
	
	
	$selloff = ' ';
	if($this->Item['selloff'] >0){
		$selloff = '$' . $this->Item['selloff'];
	}
	 
?>
<div id="block-center" style="position: relative;">
                	<div class="header-brown">
                    	<div class="icon"></div>
                        <div class="title"> BOOK DETAIL</div>
                        <div class="clr"></div>
                  </div>
                     <div class="block-content-1">
                     	<div id="products-detail">
                        	<h1 class="title"><?php echo $name;?></h1>
                            <div>
	                            <div class="product-img"><img src="<?php echo $picture;?>" /></div>
                            	<div class="product-all">
                                	<div class="row" style="padding-top: 20px">
                                    	<span class="bold">Author:</span> <?php echo $author;?></div>
                                    <div class="row"><span class="bold">Publish date:</span> <?php echo $publish_date;?></div>
                                     <div class="row"><span class="bold">Price:</span> <?php echo $price;?></div>
                                     <div class="row"><span class="bold">Saleoff:</span> <?php echo $selloff;?></div>
                                     <div class="row">
                                     		<?php echo $synopsis;?>
                                     </div>
                                </div>
                                
                                <div class="content"> 
                                   <?php echo $content;?>
                            	</div>
                                
                            </div>
                            
                       
                        </div>
                     
                  </div>
                </div>